home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / FGL304C.ZIP;1 / EXC.ARJ / FGDOC / EXAMPLES / C / 07-08.C < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-24  |  400 b   |  27 lines

  1. #include <fastgraf.h>
  2.  
  3. void main(void);
  4.  
  5. void main()
  6. {
  7.    int old_mode;
  8.    int row;
  9.  
  10.    old_mode = fg_getmode();
  11.    fg_setmode(18);
  12.  
  13.    fg_setcolor(9);
  14.    fg_fillpage();
  15.    fg_setcolor(15);
  16.    fg_fontsize(8);
  17.  
  18.    for (row = 0; row < 60; row++) {
  19.       fg_locate(row,34);
  20.       fg_text("8x8 ROM font",12);
  21.       }
  22.    fg_waitkey();
  23.  
  24.    fg_setmode(old_mode);
  25.    fg_reset();
  26. }
  27.